# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=xorg-xkill
pkgver=1.0.4
pkgrel=1
pkgdesc="Kill a client by its X resource"
arch=(i686 x86_64)
url="https://xorg.freedesktop.org/"
license=('custom')
depends=('libx11' 'libxmu')
makedepends=('xorg-util-macros')
groups=('xorg-apps' 'xorg')
source=(https://xorg.freedesktop.org/archive/individual/app/xkill-${pkgver}.tar.bz2)
sha256sums=('88ef2a304f32f24b255e879f03c1dcd3a2be3e71d5562205414f267d919f812e')

build() {
  cd "${srcdir}/xkill-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/xkill-${pkgver}"
  make DESTDIR="${pkgdir}" install
  install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
